placesview: override destory to cancel ongoing ops
authorChristian Kellner <christian@kellner.me>
Mon, 5 Sep 2016 11:19:29 +0000 (13:19 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2016 20:55:47 +0000 (16:55 -0400)
commit7cdc04c8d200fe78e4fe8d1ae37747573526c309
tree0997d288429f36087e45e1b42e07194254d7900c
parent0e5b0b75c591e91e5bd4af401660b5dd0bb1d020
placesview: override destory to cancel ongoing ops

Since we hold on to a reference during (un)mount operations, we
don't trigger the cancellation of operations in finalize anymore.
Instead we now override the GtkWidget's destroy() and cancel any
ongoing operations there.

https://bugzilla.gnome.org/show_bug.cgi?id=764979
gtk/gtkplacesview.c